﻿<%@ page language="c#" autoeventwireup="true" codebehind="insert_user.aspx.cs" inherits="webtest_view.insert_user" %>

<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        .style1
        {
            text-align: center;
        }
        .style2
        {
            background-color: #cc3399;
        }
        .style3
        {
            width: 84%;
            margin-left: 47px;
        }
        .style4
        {
            width: 166px;
            text-align: right;
        }
        .style6
        {
            color: #000099;
            text-align: center;
            font-size: xx-large;
            font-family: "adobe caslon pro bold";
            text-decoration: underline;
        }
        .style7
        {
            width: 468px;
            background-color: #9999ff;
        }
        .style8
        {
            color: #000000;
            text-align: right;
            width: 166px;
            background-color: #9999ff;
        }
        .style9
        {
            width: 166px;
            text-align: right;
            background-color: #9999ff;
        }
        .style10
        {
            width: 468px;
        }
        .style11
        {
            width: 110px;
            background-color: #9999ff;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
       <h2 class="style1"> <span class="style2">registration</span><br /></h2>
        name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;         
        <asp:textbox id="textbox1" runat="server" width="280px"></asp:textbox>
        <br />
        <br />
        address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:textbox id="textbox2" runat="server" height="90px" rows="4" width="288px"></asp:textbox>
        <br />
        <br />
        birth date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:textbox id="textbox3" runat="server" width="184px"></asp:textbox>
&nbsp;<br />
        <br />
        <asp:button id="button1" runat="server" onclick="button1_click" text="submit" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       
&nbsp;&nbsp;&nbsp;&nbsp;<asp:hyperlink id="hyperlink1" runat="server" navigateurl="~/update_user.aspx">update user</asp:hyperlink>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:label id="label1" runat="server" text="label"></asp:label>
        <br />
        <br />
        <br />
        <br />
        <br />
        
        
        <!--
        
        <table class="style3">
            <tr>
                <td class="style6" colspan="3">
                    new user registration
                </td>
            </tr>
            <tr>
                <td class="style8">
                    username</td>
                <td class="style7" colspan="2">
                    <asp:textbox id="txtuname" runat="server" width="200px"></asp:textbox>
                    <asp:requiredfieldvalidator id="requiredfieldvalidator2" runat="server" 
                        controltovalidate="txtuname" errormessage="value is required"></asp:requiredfieldvalidator>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    password</td>
                <td class="style10" colspan="2">
                    <asp:textbox id="txtpass" runat="server" textmode="password" width="197px"></asp:textbox>
                    <asp:requiredfieldvalidator id="requiredfieldvalidator3" runat="server" 
                        controltovalidate="txtrtpass" errormessage="value is required"></asp:requiredfieldvalidator>
                </td>
            </tr>
            <tr>
                <td class="style8">
                    re-type password</td>
                <td class="style7" colspan="2">
                    <asp:textbox id="txtrtpass" runat="server" textmode="password" width="197px"></asp:textbox>
                    <asp:requiredfieldvalidator id="requiredfieldvalidator4" runat="server" 
                        controltovalidate="txtrtpass" errormessage="value is required"></asp:requiredfieldvalidator>
                    <asp:comparevalidator id="comparevalidator1" runat="server" 
                        controltocompare="txtpass" controltovalidate="txtrtpass" 
                        errormessage="both password must be matched"></asp:comparevalidator>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    e mail address</td>
                <td class="style10" colspan="2">
                    <asp:textbox id="txtemal" runat="server" width="195px"></asp:textbox>
                    <asp:requiredfieldvalidator id="requiredfieldvalidator5" runat="server" 
                        controltovalidate="cmbcountry" errormessage="value is required"></asp:requiredfieldvalidator>
                    <asp:regularexpressionvalidator id="regularexpressionvalidator1" runat="server" 
                        controltovalidate="txtemal" errormessage="email is not in a correct format" 
                        validationexpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:regularexpressionvalidator>
                </td>
            </tr>
            <tr>
                <td class="style9">
                    full name
                </td>
                <td class="style7" colspan="2">
                    <asp:textbox id="txtname" runat="server" width="196px"></asp:textbox>
                    <asp:requiredfieldvalidator id="requiredfieldvalidator6" runat="server" 
                        controltovalidate="txtname" errormessage="value is required"></asp:requiredfieldvalidator>
                </td>
            </tr>
            <tr>
                <td class="style4">
                    country
                </td>
                <td class="style10" colspan="2">
                    <asp:dropdownlist id="cmbcountry" runat="server" width="167px">
                        <asp:listitem></asp:listitem>
                        <asp:listitem>nittabuwa</asp:listitem>
                        <asp:listitem selected="true">malabe</asp:listitem>
                        <asp:listitem>gampaha</asp:listitem>
                        <asp:listitem>kandy</asp:listitem>
                    </asp:dropdownlist>
                    <asp:requiredfieldvalidator id="requiredfieldvalidator7" runat="server" 
                        controltovalidate="cmbcountry" errormessage="value is required"></asp:requiredfieldvalidator>
                </td>
            </tr>
            <tr>
                <td class="style9">
                    state</td>
                <td class="style7" colspan="2">
                    <asp:dropdownlist id="cmbstate" runat="server" width="125px">
                        <asp:listitem>select one..</asp:listitem>
                        <asp:listitem>kotadeniywa</asp:listitem>
                    </asp:dropdownlist>
                    <asp:requiredfieldvalidator id="requiredfieldvalidator8" runat="server" 
                        controltovalidate="cmbstate" errormessage="value is required"></asp:requiredfieldvalidator>
                </td>
            </tr>
            <tr>
                <td class="style9">
                    &nbsp;</td>
                <td class="style11">
                    <asp:button runat="server" text="submit" />
                </td>
                <td class="style7">
                    <asp:button id="button3" runat="server" text="clear" />
                </td>
            </tr>
        </table>
        
        -->
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
        <br />
    
    </div>
    </form>
</body>
</html>
